/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.formserver.viewmodel.extendinfo.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * The  Josn Deserializer Of Biz Operation
 *
 * @ClassName: BizOperationDeserializer
 * @Author: Benjamin Gong
 * @Date: 2021/1/11 17:13
 * @Version: V1.0
 */
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class GspVoExtendInfo {

    public GspVoExtendInfo(String id, String extendInfo, String configId, String createdBy,
                           Date createdOn, String lastChangedBy, Date lastChangedOn) {
        this.id = id;
        this.extendInfo = extendInfo;
        this.configId = configId;
        this.createdBy = createdBy;
        this.createdOn = createdOn;
        this.lastChangedBy = lastChangedBy;
        this.lastChangedOn = lastChangedOn;
    }

    public GspVoExtendInfo(String id, String extendInfo, String configId, String createdBy,
                           Date createdOn, String lastChangedBy, Date lastChangedOn, String beSourceId) {
        this(id, extendInfo, configId, createdBy, createdOn, lastChangedBy, lastChangedOn);
        this.beSourceId = beSourceId;
    }

    public GspVoExtendInfo(String id, String extendInfo, String configId, String createdBy,
                           Date createdOn, String lastChangedBy, Date lastChangedOn, String beSourceId,
                           VoConfigCollectionInfo voConfigCollectionInfo) {
        this(id, extendInfo, configId, createdBy, createdOn, lastChangedBy, lastChangedOn, beSourceId);
        this.voConfigCollectionInfo = voConfigCollectionInfo;
    }

    private String id;
    private String extendInfo;
    private String configId;
    private String createdBy;
    private Date createdOn;
    private String lastChangedBy;
    private Date lastChangedOn;
    private String beSourceId;
    private VoConfigCollectionInfo voConfigCollectionInfo;

    public VoConfigCollectionInfo getVoConfigCollectionInfo() {
        return voConfigCollectionInfo;
    }

    public void setVoConfigCollectionInfo(VoConfigCollectionInfo voConfigCollectionInfo) {
        this.voConfigCollectionInfo = voConfigCollectionInfo;
    }
}
